CC = gcc
CFLAGS += -g
LDFLAGS += -pthread
EXEC = coral

all: $(EXEC)

.PHONY: all

coral: coralhttpd.c
	$(CC) $(CFLAGS) $(LDFLAGS) coralhttpd.c -o $@

clean:
	@echo "Cleaning the project..."
	-rm -rf $(EXEC) *.o
	@echo "Clean completed."

.PHONY: clean

